import 'package:flutter/material.dart';
import 'package:my_flutter/plugins/mix_plugin.dart';

class UserDetailPage extends StatefulWidget {
  UserDetailPage({Key? key}) : super(key: key);

  @override
  State<UserDetailPage> createState() => _UserDetailPageState();
}

class _UserDetailPageState extends State<UserDetailPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("user detail")),
      body: Container(
          alignment: Alignment.center,
          color: Colors.blue,
          child: GestureDetector(
            onTap: (() {
              FlutterMixPlugin.openPage("homeDetail");
            }),
            child: Container(
              width: 100,
              height: 100,
              color: Colors.white,
            ),
          )),
    );
  }
}
